<% if (pagination?.totalItems > 0) { %>
    <span class="text-sm text-gray-600 bg-gray-100 px-3 py-1 rounded-full">
        共 <%= pagination.totalItems %> 条记录，第 <%= pagination.currentPage %> / <%= pagination.totalPages %> 页
    </span>
<% } %>